]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
tools/toolbox: Stop forcing wayland display
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 25 Jun 2025 17:49:01 +0000 (19:49 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 25 Jun 2025 17:53:01 +0000 (19:53 +0200)
Mutter now updates the activation environment itself when running
outside a gnome-shell session.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3775>

tools/toolbox/run-gnome-shell.sh

index a74c41eb4f3edc8b72f1eb7faabdfba7c8eebc62..13ac238de3cadc5fc40fdf704590f779f816a562 100755 (executable)
@@ -162,11 +162,9 @@ while true; do
   esac
 done
 
-FORCE_DISPLAY=1
 if should_run_nested; then
   if has_devkit; then
     SHELL_ARGS+=( --devkit )
-    FORCE_DISPLAY=0
   elif has_nested; then
     SHELL_ARGS+=( --nested )
   else
@@ -176,11 +174,5 @@ else
   SHELL_ARGS+=( --wayland )
 fi
 
-if [ $FORCE_DISPLAY -gt 0 ]; then
-  display=toolbox-wayland-$RANDOM
-  SHELL_ENV+=(WAYLAND_DISPLAY=$display)
-  SHELL_ARGS+=(--wayland-display=$display)
-fi
-
 toolbox --container $TOOLBOX run \
   env "${SHELL_ENV[@]}" dbus-run-session $GDB gnome-shell "${SHELL_ARGS[@]}"